package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: itcast_health
 * @create: 2019-10-23 16:28
 * @author: li he
 * @description:
 */
public interface OrderSettingDao {
    OrderSetting findByDate(String orderDate);

    void add(OrderSetting orderSetting);

    void edit(OrderSetting orderSetting);

    List<OrderSetting> findByMonth(@Param("startDate") String startDate, @Param("endDate") String endDate);

    void delOrderSettingByTime(String time);
    /*

    #{endDate},#{startDate}

    */
}